package com.ballmaze.conn.websocket;

import com.ballmaze.maze.Food;
import com.ballmaze.maze.MazeLocation;
import lombok.Data;

@Data
public class MazeResponse {
    MazeLocation player;
    char[][] vision;
    //    MazeLocation[] obstacles;
    float reward;

    /**
     * Maze的回复
     *
     * @param player    用户坐标
     * @param vision    用户看到的视野内容
     * @param obstacles 障碍物的坐标集合
     */
    public MazeResponse(MazeLocation player, char[][] vision, float reward) {
        this.player = player;
        this.vision = vision;
//        this.obstacles = obstacles;
        this.reward = reward;
    }
}
